/*
 * @Description:
 * @Author: lixx
 * @Date: 2025-09-25 10:36:33
 * @LastEditTime: 2025-09-28 17:39:42
 * @LastEditors: lixx
 */
import Mock from "mockjs";
import home from "./mockData/home.js";
import user from "./mockData/user";
import permission from "./mockData/permission";

Mock.mock(/api\/home\/getData/, "get", home.getTableData);
Mock.mock(/api\/home\/getCountData/, "get", home.getCountData);
Mock.mock(/api\/home\/getChartData/, "get", home.getChartData());

Mock.mock(/api\/user\/getUserData/, "get", user.getUserList);
Mock.mock(/api\/user\/delUser/, "get", user.deleteUser);
Mock.mock(/api\/user\/createUser/, "post", user.creatUser);
Mock.mock(/api\/user\/updateUser/, "post", user.updateUser);

Mock.mock(/api\/login\/getMenu/, "post", permission.getMenu);
